package com.xjc.market.frame.tag;

import javax.servlet.jsp.tagext.BodyTagSupport;

/**
 * 
 * @author HanqingLiu
 *
 */
public class Mytag4grade extends BodyTagSupport{
	private static final long serialVersionUID = 1L;
	
	private Integer type;
	private Boolean html;
	private Integer score;
	public Integer getType() {
		return type;
	}
	public void setType(Integer type) {
		this.type = type;
	}
	public Integer getScore() {
		return score;
	}
	public void setScore(Integer score) {
		this.score = score;
	}
	public Boolean getHtml() {
		return html;
	}
	public void setHtml(Boolean html) {
		this.html = html;
	}

	public int doStartTag(){
	/*	try {
			Object result = Toolkit.levelPoints(score, type);
			
			JspWriter out= pageContext.getOut();
			out.print(result);
		} catch (Exception e) {
			e.printStackTrace();
		}*/
		
		return EVAL_BODY_INCLUDE;
	}
	
	public int doEndTag(){
        return  EVAL_BODY_INCLUDE;
	}
}
